namespace EFS.Common.Values
{
	/// Class String
	public class String : EFS.Common.Values.Generic.Value<System.String>
	{
		/// Implicit constructor
		public String()
		{
		}

		/// Explicit constructor
		public String(System.String value)
			: base(value)
		{
		}

		/// <summary>
		/// Change default from null to ""
		/// </summary>
		public override System.Object Default
		{
			get
			{
				return "";
			}
		}

		// set as string
		public override void SetString(System.String valueAsString)
		{
			// set if valid string
			if (EFS.Common.Verify.String(valueAsString))
			{
				InnerValue = valueAsString;
			}
		}
	}

}